<?php
session_start();	//开启session
include"../public/common/mysql_connect.php";
// print_r($_SESSION);exit;
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>right</title>
	<style>
		*{
			font-family: 微软雅黑;
		}
		body{
			padding:15px;
		}
		.wel{
			width: 80%;
			height: 500px;
			background: #EEEEEE;
			text-align: center;
			border-radius: 20px;
		}
		.wel img{
			margin-top: 40px;
		}
	</style>

</head>
<body>
	<div class="wel">
		<img src="public/img/admin.jpg">
		<?php date_default_timezone_set('PRC');?>
		<h1>你好,<?php echo $_SESSION['admin_username']?>!&nbsp;&nbsp;&nbsp;上次登陆时间为：<?php echo date('Y/m/d H:i:s',$_SESSION['last_time'])?></h1>
		<strong>开发者：何应林</strong>
	</div>
</body>
</html>